package com.itinsys.enma.dao;

import java.util.List;

import net.sf.ehcache.ObjectExistsException;

import com.itinsys.enma.domain.Subject;

public interface SubjectDAO {
	
	public Subject getById(String Subject) throws ObjectExistsException;

	public List<Subject> getAll();

	public boolean addSubject(Subject subject);

	public boolean updateSubject(Subject subject);

	public boolean deleteSubject(Subject subject);

	public Subject getByDesc(String description);

}
